home *** CD-ROM | disk | FTP | other *** search
-
-
-
- UUUUUUUUIIIIDDDD((((3333CCCC)))) UUUUUUUUIIIIDDDD((((3333CCCC))))
-
-
-
- NNNNAAAAMMMMEEEE
- uuid_create, uuid_create_nil, uuid_compare, uuid_equal, uuid_is_nil,
- uuid_hash, uuid_from_string, uuid_to_string - Universal Unique Identifier
- functions
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ttttyyyyppppeeeessss....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////uuuuuuuuiiiidddd....hhhh>>>>
-
- vvvvooooiiiidddd uuuuuuuuiiiidddd____ccccrrrreeeeaaaatttteeee ((((uuuuuuuuiiiidddd____tttt ****uuuuuuuuiiiidddd,,,, uuuuiiiinnnntttt____tttt ****ssssttttaaaattttuuuussss))));;;;
-
- vvvvooooiiiidddd uuuuuuuuiiiidddd____ccccrrrreeeeaaaatttteeee____nnnniiiillll ((((uuuuuuuuiiiidddd____tttt ****uuuuuuuuiiiidddd,,,, uuuuiiiinnnntttt____tttt ****ssssttttaaaattttuuuussss))));;;;
-
- bbbboooooooolllleeeeaaaannnn____tttt uuuuuuuuiiiidddd____iiiissss____nnnniiiillll ((((uuuuuuuuiiiidddd____tttt ****uuuuuuuuiiiidddd,,,, uuuuiiiinnnntttt____tttt ****ssssttttaaaattttuuuussss))));;;;
-
- bbbboooooooolllleeeeaaaannnn____tttt uuuuuuuuiiiidddd____eeeeqqqquuuuaaaallll ((((uuuuuuuuiiiidddd____tttt ****uuuuuuuuiiiidddd1111,,,, uuuuuuuuiiiidddd____tttt ****uuuuuuuuiiiidddd2222,,,, uuuuiiiinnnntttt____tttt ****ssssttttaaaattttuuuussss))));;;;
-
- iiiinnnntttt uuuuuuuuiiiidddd____ccccoooommmmppppaaaarrrreeee ((((uuuuuuuuiiiidddd____tttt ****uuuuuuuuiiiidddd1111,,,, uuuuuuuuiiiidddd____tttt ****uuuuuuuuiiiidddd2222,,,, uuuuiiiinnnntttt____tttt ****ssssttttaaaattttuuuussss))));;;;
-
- vvvvooooiiiidddd uuuuuuuuiiiidddd____ttttoooo____ssssttttrrrriiiinnnngggg ((((uuuuuuuuiiiidddd____tttt ****uuuuuuuuiiiidddd,,,, cccchhhhaaaarrrr ********uuuuuuuuiiiidddd____ssssttttrrrr,,,, uuuuiiiinnnntttt____tttt ****ssssttttaaaattttuuuussss))));;;;
-
- vvvvooooiiiidddd uuuuuuuuiiiidddd____ffffrrrroooommmm____ssssttttrrrriiiinnnngggg ((((cccchhhhaaaarrrr ****uuuuuuuuiiiidddd____ssssttttrrrr,,,, uuuuuuuuiiiidddd____tttt ****uuuuuuuuiiiidddd,,,, uuuuiiiinnnntttt____tttt ****ssssttttaaaattttuuuussss))));;;;
-
- uuuusssshhhhoooorrrrtttt____tttt uuuuuuuuiiiidddd____hhhhaaaasssshhhh ((((uuuuuuuuiiiidddd____tttt ****uuuuuuuuiiiidddd,,,, uuuuiiiinnnntttt____tttt ****ssssttttaaaattttuuuussss))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Universal Unique Identifiers are bit strings that may be generated
- independently on separate nodes (hosts) such that globally unique strings
- result without requiring the hosts to be in communication with each other
- to ensure uniqueness. They are a component of DCE that have been
- independently reimplemented in IRIX, but is in accordance with the DCE
- specification. This implementation is API compatible with the DCE
- implementation.
-
- The _s_t_a_t_u_s parameter in all functions is set to _u_u_i_d__s__o_k if the
- functions succeeds, and does not equal _u_u_i_d__s__o_k if the function fails.
- A description of each function follows.
-
- _u_u_i_d__c_r_e_a_t_e creates a new UUID.
-
- _u_u_i_d__c_r_e_a_t_e__n_i_l creates a specially-defined UUID, the nil UUID. The nil
- UUID may be used to initialize/clear UUID structures.
-
- _u_u_i_d__c_o_m_p_a_r_e defines an ordering relationship between UUIDs. It returns
- -1, 0, or 1 as determined by the relative order of the argument UUIDs.
- The nil UUID precedes all others in order. The return values of -1, 0,
- and 1 are generated respectively as _u_u_i_d_1 precedes, is equal to, or
- follows _u_u_i_d_2.
-
- _u_u_i_d__e_q_u_a_l tests two UUIDs for equality. It returns _B__T_R_U_E if the UUIDs
- are equal, and _B__F_A_L_S_E if they are not.
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- UUUUUUUUIIIIDDDD((((3333CCCC)))) UUUUUUUUIIIIDDDD((((3333CCCC))))
-
-
-
- _u_u_i_d__i_s__n_i_l tests a UUID for equality with the nil UUID. It returns
- _B__T_R_U_E if the UUID is a nil UUID, and _B__F_A_L_S_E if it is not.
-
- _u_u_i_d__h_a_s_h returns a hash value for a UUID.
-
- _u_u_i_d__f_r_o_m__s_t_r_i_n_g converts a string representation of a UUID into its
- binary form.
-
- _u_u_i_d__t_o__s_t_r_i_n_g converts a binary UUID into its string representation.
- Storage for the string is obtained using _m_a_l_l_o_c(3c), and thus should be
- returned using _f_r_e_e(3c).
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- malloc(3c), free(3c)
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- Return values are described in the description of each (non-void)
- function. The _s_t_a_t_u_s parameter serves the purpose usually fulfilled by
- the return value. See above for a description of _s_t_a_t_u_s.
-
- NNNNOOOOTTTTEEEESSSS
- The DCE version and this version of _u_u_i_d__c_o_m_p_a_r_e may return different
- results for the same UUIDs. The same is true for the values returned by
- each version of _u_u_i_d__h_a_s_h.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-